﻿package mode7.events
{
	import flash.events.Event;
	
	/**
	 *  @title 				SelectionEvent
	 *  @description 	
	 *	@langversion 		ActionScript 3.0
	 *	@playerversion 		Flash 9.0
	 *	@author(s) 			James Allen | Lunchbox www.lbox.com
	 *	@since  			07.05.2010
	 */
	
	public class SelectionEvent extends Event
	{
		public static const SELECT:String = "setSelect";
		public static const UNSELECT:String = "setUnSelect";
		public static const FOCUS:String = "setFocus";
		public static const UNFOCUS:String = "setUnFocus";
		
		public function SelectionEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
		{
			super(type, bubbles, cancelable);
		}
		public override function clone():Event
		{
			return new SelectionEvent(type, bubbles, cancelable);
		}
		public override function toString():String
		{
			return formatToString("SelectionEvent", "type", "bubbles", "cancelable", "eventPhase");
		}
	}
}